package com.kmust.dream.wanderingdream.product.service;

import com.kmust.dream.wanderingdream.comm.pojo.ResultBean;
import com.kmust.dream.wanderingdream.product.entity.ProductImage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kmust.dream.wanderingdream.product.vo.ProductImageBatchVO;

/**
 *
 */
public interface ProductImageService extends IService<ProductImage> {

    ResultBean getProductImageById(Integer productId);

    ResultBean addProductImage(Integer productId,String url);

    ResultBean updateProductImage(ProductImage productImage);

    ResultBean deleteProductImage(Integer productImageId);

    ResultBean addProductImageBatch(ProductImageBatchVO productImageBatchVO);
}
